<!--
 * @Author: 袁三金
 * @Date: 2024-02-18 15:21:38
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2024-02-18 16:33:00
 * @Description: 请填写简介
-->
<template>
  <div class="file_card_list">
    <div class="card">
      <div class="node_card">
        <div class="folder_cover">
          <img
            style="width: 115px; height: 90px"
            src="https://img.alicdn.com/imgextra/i1/O1CN01rGJZac1Zn37NL70IT_!!6000000003238-2-tps-230-180.png"
            alt=""
          />
        </div>
        <div class="card_text">
          <p class="card_title">鲁迅</p>
          <p class="card_time">02/16 14:49</p>
        </div>
      </div>
      <div class="card_action_btn"></div>
      <div class="card_action_menuBtn"></div>
    </div>
  </div>
</template>

<script>
export default {
  name: "FileCardList",
};
</script>

<style lang="scss" scoped>
.file_card_list {
  .card {
    position: relative;
    .node_card {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      width: 123px;
      border-radius: 10px;
      padding: 8px 0 10px;
      .folder_cover {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 12px;
      }
      .card_text {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        p {
          width: 100%;
          text-align: center;
        }
        .card_title {
          font-size: 14px;
          color: rgb(37, 38, 43);
          line-height: 1.5;
          margin: 0;
          margin-bottom: 2px;
        }
        .card_time {
          font-size: 12px;
          color: rgb(37, 38, 43, 0.36);
          margin: 0;
        }
      }
    }
    .card_action_btn {
      position: absolute;
      top: 4px;
      right: 4px;
      width: 24px;
      height: 24px;
      border-radius: 3px;
      background-color: #fff;
    }
    .card_action_menuBtn {
      position: absolute;
      left: 4px;
      top: 4px;
      width: 24px;
      height: 24px;
      border-radius: 3px;
      background-color: #fff;
    }
    .node_card:hover {
      background-color: rgb(132, 133, 141, 0.08);
    }
  }
}
</style>
